﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddValueObjectClass.aspx.cs" Inherits="TrafficArchives.ValueObjects.AddValueObjectClass" %>
<%--
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
--%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/Page.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="2" bgcolor="#acd1eb"
        style="font-size: 12px;">
        <tr>
            <td valign="top" bgcolor="#FFFFFF">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="12">
                                        <img src="../Images/bt_left.gif" width="12" height="28">
                                    </td>
                                    <td width="42" align="center" background="../Images/bt_bg.gif">
                                        <img src="../Images/bt_title.gif">
                                    </td>
                                    <td background="../Images/bt_bg.gif" style="font-size: 12px;">
                                        <span class="style3">您当前的位置：</span><label id="LblTitle" runat="server">值对象分类</label>
                                    </td>
                                    <td width="12">
                                        <img src="../Images/bt_right.gif" width="12" height="28">
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" height="40">
                            <!--查询begin-->
                            <!--详细信息begin-->
                            <table width="80%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td height="26">
                                    </td>
                                </tr>
                                <tr style="background: url(../Images/contentbg2.gif)">
                                    <td height="26" bgcolor="#66a9ec">
                                        <span class="title_2">值对象分类</span>
                                    </td>
                                </tr>
                            </table>
                            <asp:UpdatePanel ID="UpdatePanelForm" UpdateMode="Conditional" runat="server">
                                <ContentTemplate>
                            <table width="80%" border="0" cellpadding="0" cellspacing="1" bgcolor="#66a9ec" style="font-size: 12px;">
                                <tr>
                                    <td width="16%" height="25" align="right" bgcolor="#dcebff">
                                        编码：
                                    </td>
                                    <td width="34%" bgcolor="#FFFFFF" align="left">
                                        &nbsp;
                                        <asp:TextBox ID="TxtCode" Width="148" MaxLength="40" runat="server"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="TxtCodeValidator" ControlToValidate="TxtCode"
                                            runat="server" ErrorMessage="请输入编码" ForeColor="Red"></asp:RequiredFieldValidator>
                                        
                                    </td>
                                    <td width="16%" align="right" bgcolor="#dcebff">
                                        名称：
                                    </td>
                                    <td width="34%" bgcolor="#FFFFFF" align="left">
                                        &nbsp;
                                        <asp:TextBox ID="TxtName" Width="148" MaxLength="40" runat="server"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="TxtNameValidator" ControlToValidate="TxtName"
                                            runat="server" ErrorMessage="请输入名称" ForeColor="Red"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="16%" height="25" align="right" bgcolor="#dcebff">
                                        说明：
                                    </td>
                                    <td bgcolor="#FFFFFF" align="left">
                                        &nbsp;
                                        <asp:TextBox ID="TxtRemark" Width="148" MaxLength="40" runat="server"></asp:TextBox>
                                    </td>
                                    <td align="right" bgcolor="#dcebff">
                                        &nbsp;</td>
                                    <td bgcolor="#FFFFFF" align="left">
                                        &nbsp;
                                        </td>
                                </tr>
                            </table>
                            <!--详细信息over-->
                            <table width="60%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td height="50" align="center" valign="middle">
                                        <td align="center">
                                            <table style="text-align: center">
                                                <tr>
                                                    <td>
                                                        <asp:Button ID="BtnSave" Text="保存" OnClick="BtnSaveClick" CssClass="button" runat="server" />
                                                    </td>
                                                    <td>
                                                        <span>
                                                            <input type="button" name="BtnBack" value="返回" class="button" onclick="javascript:window.navigate('ValueObjectClassView.aspx');" />
                                                        </span>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                </tr>
                            </table>
                            </ContentTemplate>
                            </asp:UpdatePanel>
                            <div style="font-size: 12px;color: red;text-align: left;width: 80%;">
                                值对象分类的编码约定：<br/><br/>
                                培训原因：001<br/><br/>
                                信誉种类：002<br/><br/>
                                可以web.config中配置<br/><br/>
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
